#include <Arduino.h>
#include <FreeRTOS.h>
#include <task.h>
#include "pins.h"
#include "led.h"
#include "reqhandler.h"
#include "serial.h"
#include "sensor.h"

void setup()
{
  setup_pins();
  setup_serial();
  setup_dac();
  setup_adc();
  setup_led();
  xTaskCreate(led_task, "led_task", 512, NULL, 1, NULL);
}

void loop()
{
  loop_reqhandler();
}
